﻿using System.Windows.Forms;

namespace WinFormsSample.VisualTest.DataTemplate
{
    public partial class View : UserControl
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="View"/> class.
        /// </summary>
        public View()
        {
            InitializeComponent();
            Size = new System.Drawing.Size(50, 50);

            var label = new Label
            {
                Text = "data templates are not supported in winforms...",

                // out of livecharts properties...
                Location = new System.Drawing.Point(0, 0),
                Size = new System.Drawing.Size(50, 50),
                Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Bottom
            };
            Controls.Add(label);
        }
    }
}
